package com.demo.design.creational.simplefactory;

import java.math.BigDecimal;

public class Apple implements Fruit{


    @Override
    public String getProductName() {
        return "苹果";
    }

    @Override
    public BigDecimal price() {
        return BigDecimal.valueOf(3);
    }
}
